package com.pg.agent.engine.client.model.llm;

/**
 * 大模型提示词对象
 * @author huhuaping
 * @date 2024/1/22 14:37
 */
public class LLMPrompt {

    /**
     * 角色
     */
    private String role;

    /**
     * 内容
     */
    private String content;

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LLMPrompt() {
    }

    public LLMPrompt(LLMPromptType type, String content) {
        this.role = type.getCode();
        this.content = content;
    }
}
